debian-debug
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Wed, 1 Oct 2014 19:37:10 +0000 (19:37 +0000)
committerRene Engelhard <rene@debian.org>
Wed, 1 Oct 2014 19:37:10 +0000 (19:37 +0000)
Gbp-Pq: Name debian-debug.diff

configure.ac
solenv/gbuild/platform/com_GCC_defs.mk
solenv/gbuild/platform/unxgcc.mk

index c72d3d275a9bad43d6b90a523aaea4dd557bd956..bf991512a4e457bb4c6fb360f1c99d1affecd16e 100644 (file)
Binary files a/configure.ac and b/configure.ac differ
index 8e96888256531a0f99891a4be6a1fd8394919941..0613d23818dbb86dcca5d7f8efd2a2473c5e8578 100644 (file)
@@ -139,7 +139,11 @@ ifeq ($(HAVE_GCC_FNO_DEFAULT_INLINE),TRUE)
 FNO_DEFAULT_INLINE=-fno-default-inline
 endif
 
+ifeq ($(ENABLE_SYMBOLS),SMALL)
+gb_DEBUG_CFLAGS := -g1 $(FINLINE_LIMIT0) $(FNO_INLINE)
+else
 gb_DEBUG_CFLAGS := $(GGDB2) $(FINLINE_LIMIT0) $(FNO_INLINE)
+endif
 gb_DEBUG_CXXFLAGS := $(FNO_DEFAULT_INLINE)
 
 
index 6d89207bf3ee04b17f78f7167b4ee1c27dc40f39..78efa94a9551f9c2d9d81dd74457a42119c0111c 100644 (file)
@@ -151,9 +151,14 @@ gb_LinkTarget_CFLAGS := $(gb_CFLAGS)
 gb_LinkTarget_CXXFLAGS := $(gb_CXXFLAGS)
 
 ifeq ($(gb_SYMBOL),$(true))
+ifeq ($(ENABLE_SYMBOLS),SMALL)
+gb_LinkTarget_CXXFLAGS += -g1
+gb_LinkTarget_CFLAGS += -g1
+else
 gb_LinkTarget_CXXFLAGS += $(GGDB2)
 gb_LinkTarget_CFLAGS += $(GGDB2)
 endif
+endif
 
 # note that `cat $(extraobjectlist)` is needed to build with older gcc versions, e.g. 4.1.2 on SLED10
 # we want to use @$(extraobjectlist) in the long run